package com.huanletao.tran;

import com.huanletao.tran.config.JavaConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class UserServiceDemo2 {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(JavaConfig.class);

        UserService2 bean = applicationContext.getBean(UserService2.class);
        bean.transfer4();

    }
}
